#include <iostream>
using namespace std;

class Cuboid{
    private:
        double length;
        double weight;
        double hight;
    public:
        // 初始化的函数
        void init(double l, double w, double h){
            length = l;
            weight = w;
            hight = h;
        }
        // 获取体积的函数
        double get_volume(){
            return length * weight * hight;
        }
};

int main(int argc, const char *argv[]){
    Cuboid c1;
    c1.init(3, 4, 5);
    cout << c1.get_volume() << endl; // 60

    return 0;
}